package com.lagou.edu.ad.controller;


import com.lagou.edu.ad.entity.PromotionSpace;
import com.lagou.edu.ad.service.IPromotionSpaceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * 因为是通过 feign 远程调用，不会来直接调用这个服务，另外因为框架设计问题，其实这个controller用不上，可以删掉
 *
 * @author felix
 * @since 2021-12-12
 */
//@RestController
//@RequestMapping("/ad/space")
public class PromotionSpaceController {

//    @Autowired
//    private IPromotionSpaceService promotionSpaceService;
//
//    @GetMapping("/list")
//    public List<PromotionSpace> getAllSpaces() {
//        List<PromotionSpace> list = promotionSpaceService.list();
//        return list;
//    }

}
